package Timer;

public class Main {
    public static void main(String[] args) {
        Time a = new Time();
        a.setTime(23, 59, 59);
        System.out.println(a.toString());
        a.nextSecond();
        System.out.println(a.toString());
    }
}
